<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
<div style="text-align: center;vertical-align: center">
    <h1>登录页面</h1>
    <center>
        <form action="/authentication/form" method="post">
            <table>
                <tr>
                    <td>用户名:</td>
                    <td>
                        <label>
                            <input type="text" name="username"/>
                        </label>
                    </td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td>
                        <label>
                            <input type="password" name="password"/>
                        </label>
                    </td>
                </tr>
                <tr>
                    <td>图形验证码:</td>
                    <td>
                        <label>
                            <input type="text" name="imageCode"/>
                            <img src="/code/image">
                        </label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <input name="remember-me" type="checkbox" value="true"/>记住我
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <button type="submit">登录</button>
                    </td>
                </tr>
            </table>
        </form>
        <h1>短信登录</h1>
        <form action="/authentication/mobile" method="post">
            <table>
                <tr>
                    <td>手机号:</td>
                    <td><input type="text" name="mobile" value="13012345678"></td>
                </tr>
                <tr>
                    <td>短信验证码:</td>
                    <td>
                        <input type="text" name="smsCode">
                        <a href="/code/sms?mobile=13012345678">发送验证码</a>
                    </td>
                </tr>
                <tr>
                    <td colspan="2"><button type="submit">登录</button></td>
                </tr>
            </table>
        </form>
    </center>
</div>
</body>
</html>
